﻿/*main.cpp*/
/*solution的单位制采用了kN,mm,GPa*/
#include "solution.h"

int main() {
	solution sol1;
	double nodef[38] = { 0 };
	double nodeR[38] = { 10,0,0,0,0,0,0,0,
		0,0,0,0,0,0,0,0,
		0,0,0,0,0,0,0,0,
		0,0,0,0,0,0,0,0,
		0,0,0,0,0,0
	};
	bool node_att[38] = { 1,1,1,1,0,0,0,0,
		0,0,1,1,1,1,1,1,
		1,1,1,1,1,1,1,1,
		1,1,1,1,1,1,1,1,
		1,1,1,1,1,1
	};
	sol1.solve(nodef, nodeR, node_att, 38, 210, 0.2, 10);
	system("pause");
	return 0;
}